<div class="crumb_nav">
<a href="<?php echo site_url()?>">Home</a> <?php echo ' | '.$cat_name?>
</div>
<div class="title"><span class="title_icon"><img src="<?php echo base_url()?>assets/images/bullet1.gif" alt="" title="" /></span>Category <?php echo $cat_name?></div>
<div class="nav_title">
	<?php foreach($res_ven as $nav):?>
	<div class="sub_nav_title">
		<?php echo anchor('kategori/manufaktur/'.makeslug($nav['nama_vendor']).'/'.$nav['prod_kat_id'].'/'.$nav['prod_vendor_id'],$nav['nama_vendor'])?>
	</div>
	<?php endforeach;?>
		
</div>
<div class="new_produks">
	<?php if(!empty($res_kat)): ?>
		<?php foreach($res_kat as $row): ?>
			<div class="new_prod_box">
				<div class="prod_title"><?php echo anchor('produk/view/'.$row['prod_kat_id'].'/'.$row['prod_vendor_id'].'/'.$row['produk_id'].'/'.'kat-'.makeslug($row['nama_produk']),$row['nama_produk'])?></div>
				<div class="new_prod_bg">
					<?php echo anchor('produk/view/'.$row['prod_kat_id'].'/'.$row['prod_vendor_id'].'/'.$row['produk_id'].'/'.'kat-'.makeslug($row['nama_produk']),'
										<img src="'.base_url().'public/photo/'.$row['image_medium'].'" alt="'.$row['nama_produk'].'" class="thumb">')?>
				</div>  
				<div class="prod_price"><?php echo formatHarga($row['harga_jual_baru'],'lengkap')?></div>
			</div>
		<?php endforeach; ?>
		<?php if($this->pagination->create_links()) echo '<div class="pagination">'. $this->pagination->create_links().'</div>'; ?>                   
	<?php else: ?>
	<div class="new_prod_box">
			<p>No data</p>
	</div>
	<?php endif;?>
</div> 